const path = require('path')
function resolvePath(dir) {
  return path.join(__dirname, dir)
}
module.exports = {


  chainWebpack: config => {
    config.resolve.alias
      .set('@', resolvePath('src'))

  },

  productionSourceMap: false,
  parallel: require('os').cpus().length > 1,
}